﻿using System;
namespace Chenxin.Lib.Business.Entity
{
    /// <summary>
    /// 实体类IntentionBaseInfo 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class IntentionBaseInfo
    {
        public IntentionBaseInfo()
        { }
        #region Model
        private Guid _intentionid;
        private bool _bcontracted;
        private Guid _contractid;
        private string _contractcode;
        private string _intentioncode;
        private DateTime? _createdate;
        private Guid _createempid;
        private string _createemp;
        private Guid _belongcityid;
        private string _belongcityname;
        private Guid _belongcompanyid;
        private string _belongcompany;
        private Guid _belongdepartid;
        private string _belongdepart;
        private Guid _belongempid;
        private string _belongemp;
        private DateTime? _delivertime;
        private Guid _lastemployeeid;
        private string _lastemployee;
        private DateTime? _lastemployeegettime;
        private int? _businesstype;
        private int? _intentiontype;
        private Guid _updateempid;
        private string _updateemp;
        private DateTime? _updatetime;
        private int? _status;
        private string _statusdescription;
        private Guid _houseid;
        private string _housecode;
        private string _houseaddress;
        private string _region;
        private decimal? _totalprice;
        private string _customername_sale;
        private string _customername_buy;
        private decimal? _firstmoney;
        private decimal? _totalmoney;
        private decimal? _getedmoney;
        private decimal? _deliveredmoney;
        private DateTime? _lastcontractdate;
        private DateTime? _lastdelivermoneydate;
        private int? _deliverto;
        private string _lostitems;
        private DateTime? _getauthorizedate;
        private DateTime? _changetime;
        /// <summary>
        /// 
        /// </summary>
        public Guid IntentionId
        {
            set { _intentionid = value; }
            get { return _intentionid; }
        }
        /// <summary>
        /// 是否成交
        /// </summary>
        public bool bContracted
        {
            set { _bcontracted = value; }
            get { return _bcontracted; }
        }
        /// <summary>
        /// 0=未成交；1=已成交
        /// </summary>
        public Guid ContractId
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ContractCode
        {
            set { _contractcode = value; }
            get { return _contractcode; }
        }
        /// <summary>
        /// 意向编号
        /// </summary>
        public string IntentionCode
        {
            set { _intentioncode = value; }
            get { return _intentioncode; }
        }
        /// <summary>
        /// 发放编号时间
        /// </summary>
        public DateTime? CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 发放人
        /// </summary>
        public Guid CreateEmpId
        {
            set { _createempid = value; }
            get { return _createempid; }
        }
        /// <summary>
        /// 发放人
        /// </summary>
        public string CreateEmp
        {
            set { _createemp = value; }
            get { return _createemp; }
        }
        /// <summary>
        /// 意向所属城市
        /// </summary>
        public Guid BelongCityId
        {
            set { _belongcityid = value; }
            get { return _belongcityid; }
        }
        /// <summary>
        /// 意向所属城市
        /// </summary>
        public string BelongCityName
        {
            set { _belongcityname = value; }
            get { return _belongcityname; }
        }
        /// <summary>
        /// 意向所属公司
        /// </summary>
        public Guid BelongCompanyId
        {
            set { _belongcompanyid = value; }
            get { return _belongcompanyid; }
        }
        /// <summary>
        /// 意向所属公司
        /// </summary>
        public string BelongCompany
        {
            set { _belongcompany = value; }
            get { return _belongcompany; }
        }
        /// <summary>
        /// 意向所属部门
        /// </summary>
        public Guid BelongDepartId
        {
            set { _belongdepartid = value; }
            get { return _belongdepartid; }
        }
        /// <summary>
        /// 意向所属部门
        /// </summary>
        public string BelongDepart
        {
            set { _belongdepart = value; }
            get { return _belongdepart; }
        }
        /// <summary>
        /// 意向所属人
        /// </summary>
        public Guid BelongEmpId
        {
            set { _belongempid = value; }
            get { return _belongempid; }
        }
        /// <summary>
        /// 意向所属人
        /// </summary>
        public string BelongEmp
        {
            set { _belongemp = value; }
            get { return _belongemp; }
        }
        /// <summary>
        /// 下发时间
        /// </summary>
        public DateTime? DeliverTime
        {
            set { _delivertime = value; }
            get { return _delivertime; }
        }
        /// <summary>
        /// 业务员
        /// </summary>
        public Guid LastEmployeeId
        {
            set { _lastemployeeid = value; }
            get { return _lastemployeeid; }
        }
        /// <summary>
        /// 业务员
        /// </summary>
        public string LastEmployee
        {
            set { _lastemployee = value; }
            get { return _lastemployee; }
        }
        /// <summary>
        /// 业务员领取时间
        /// </summary>
        public DateTime? LastEmployeeGetTime
        {
            set { _lastemployeegettime = value; }
            get { return _lastemployeegettime; }
        }
        /// <summary>
        /// 10:出售；20：出租
        /// </summary>
        public int? BusinessType
        {
            set { _businesstype = value; }
            get { return _businesstype; }
        }
        /// <summary>
        /// 10:买卖协议：20：居间协议
        /// </summary>
        public int? IntentionType
        {
            set { _intentiontype = value; }
            get { return _intentiontype; }
        }
        /// <summary>
        /// 记录更新人；每次更新记录时更新该字段
        /// </summary>
        public Guid UpdateEmpId
        {
            set { _updateempid = value; }
            get { return _updateempid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UpdateEmp
        {
            set { _updateemp = value; }
            get { return _updateemp; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 状态:-200:未领用;-100=未使用；-10=未生效；-20=作废；-30遗失；10:生效
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 状态描述，如作废原因，未生效原因等
        /// </summary>
        public string StatusDescription
        {
            set { _statusdescription = value; }
            get { return _statusdescription; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid HouseId
        {
            set { _houseid = value; }
            get { return _houseid; }
        }
        /// <summary>
        /// 房源编号
        /// </summary>
        public string HouseCode
        {
            set { _housecode = value; }
            get { return _housecode; }
        }
        /// <summary>
        /// 地址
        /// </summary>
        public string HouseAddress
        {
            set { _houseaddress = value; }
            get { return _houseaddress; }
        }
        /// <summary>
        /// 区域
        /// </summary>
        public string Region
        {
            set { _region = value; }
            get { return _region; }
        }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal? TotalPrice
        {
            set { _totalprice = value; }
            get { return _totalprice; }
        }
        /// <summary>
        /// 出售方客户姓名
        /// </summary>
        public string CustomerName_Sale
        {
            set { _customername_sale = value; }
            get { return _customername_sale; }
        }
        /// <summary>
        /// 买受方客户姓名
        /// </summary>
        public string CustomerName_Buy
        {
            set { _customername_buy = value; }
            get { return _customername_buy; }
        }
        /// <summary>
        /// 首笔诚意金
        /// </summary>
        public decimal? FirstMoney
        {
            set { _firstmoney = value; }
            get { return _firstmoney; }
        }
        /// <summary>
        /// 总诚意金
        /// </summary>
        public decimal? TotalMoney
        {
            set { _totalmoney = value; }
            get { return _totalmoney; }
        }
        /// <summary>
        /// 已经收进来的诚意金
        /// </summary>
        public decimal? GetedMoney
        {
            set { _getedmoney = value; }
            get { return _getedmoney; }
        }
        /// <summary>
        /// 已经转移的诚意金
        /// </summary>
        public decimal? DeliveredMoney
        {
            set { _deliveredmoney = value; }
            get { return _deliveredmoney; }
        }
        /// <summary>
        /// 约定截止签约日期
        /// </summary>
        public DateTime? LastContractDate
        {
            set { _lastcontractdate = value; }
            get { return _lastcontractdate; }
        }
        /// <summary>
        /// 约定诚意金转移期限
        /// </summary>
        public DateTime? LastDeliverMoneyDate
        {
            set { _lastdelivermoneydate = value; }
            get { return _lastdelivermoneydate; }
        }
        /// <summary>
        /// 约定诚意金转移方向：10=房款；20=定金
        /// </summary>
        public int? DeliverTo
        {
            set { _deliverto = value; }
            get { return _deliverto; }
        }
        /// <summary>
        /// 遗失内容
        /// </summary>
        public string LostItems
        {
            set { _lostitems = value; }
            get { return _lostitems; }
        }
        /// <summary>
        /// 签呈收到时间
        /// </summary>
        public DateTime? GetAuthorizeDate
        {
            set { _getauthorizedate = value; }
            get { return _getauthorizedate; }
        }
        /// <summary>
        /// 意向书换领时间
        /// </summary>
        public DateTime? ChangeTime
        {
            set { _changetime = value; }
            get { return _changetime; }
        }
        #endregion Model

    }
}

